.class Lcom/waiqin365/lightapp/product/dp;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/dp;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dp;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->n(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Landroid/support/v4/widget/DrawerLayout;

    move-result-object v0

    const/4 v1, 0x3

    invoke-virtual {v0, v1}, Landroid/support/v4/widget/DrawerLayout;->isDrawerOpen(I)Z

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dp;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->o(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Z

    move-result v0

    if-nez v0, :cond_0

    sget-object v0, Lcom/waiqin365/lightapp/product/s;->o:Lcom/waiqin365/lightapp/product/s;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/dp;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v1}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->j(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Lcom/waiqin365/lightapp/product/d/g;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/g;->d:Lcom/waiqin365/lightapp/product/s;

    if-ne v0, v1, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dp;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->p(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Lcom/waiqin365/lightapp/product/d/h;

    move-result-object v0

    :goto_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/product/dp;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    const/4 v2, 0x0

    const/4 v3, 0x0

    invoke-static {v1, v0, v2, v3}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->a(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;Lcom/waiqin365/lightapp/product/d/h;Ljava/lang/String;Z)V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dp;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->q(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)V

    :goto_1
    return-void

    :cond_1
    new-instance v0, Lcom/waiqin365/lightapp/product/d/h;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/product/d/h;-><init>()V

    const-string/jumbo v1, "-1"

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/h;->a:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/product/dp;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    const v2, 0x7f0802dd

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/h;->c:Ljava/lang/String;

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/dp;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->r(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)V

    goto :goto_1
.end method
